Welcome, Guest. Please login or register.
Did you miss your activation email?
September 09, 2010, 10:24:42 am

Kubuntu Forums  |  Important Information  |  Documentation  |  Experimentation/Customization/Optimization  |  Topic: Service Menus with Dolphin 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Service Menus with Dolphin  (Read 26656 times)
Rog131
Kubuntu Veteran
*******
Offline Offline

Posts: 3961


Kubuntu facientes adiuvant


« Reply #15 on: September 26, 2009, 09:37:46 am »

Two click wallpaper change
This was working with the Kubuntu 9.04 / KDE 4.2.4, Kubuntu 9.10 (a6) / KDE 4.3.1

This is linking to the > Topic: How to change desktop background from dolphin and/or gwenview in kde4?


> change wallpaper & weather wallpaper
Quote
by JaKi » Thu Aug 27, 2009 3:53 pm

By now I change my wallpaper through a servicemenu. I have set the wallpaper in that dialog to use ~/background.jpg. And via the picture's servicemenu I copy another file to background.jpg. That works fine except for one exception: the new wallaper only appears after either a relogin or in current session when I open the wallpaper dialog and confirm it without changing anything. So I'd love to call that dialog from the servicemenu.


by JaKi » Sat Sep 05, 2009 9:33 pm

I installed the "next wallpaper" widget and it works fine even when the desktop is not in slideshow mode! I now set the wallpaper via my servicemenu (copy the chosen picture to background.jpg) and just have to click on the next wallpaper widget in the panel to let the new wallpaper smoothly blend in (I now use a subdirectory in which background.jpg is the only picture). Nice!


Making a .desktop file to the ~/.kde/share/kde4/services/ServiceMenus:

wallpaper.desktop
Code:
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=image/*;
Actions=;SetWallpaper;
X-KDE-Priority=TopLevel
X-KDE-Submenu=Image

[Desktop Action SetWallpaper]
Name=Set Wallpaper
Icon=folder-image
Exec=convert "%f" ~/Wallpaper/MyWallpaper.jpg

Update:
I'm using the ImageMagic to scale&crop the image:
Code:
Exec=convert "%f" -resize 1680x1050^ -gravity center -extent 1680x1050 ~/Wallpaper/MyWallpaper.png


Making a directory: Wallpaper in the home directory (/home/rog/Wallpaper).

Click #1
With the Dolphin > Right clicking the imagefile > Set Wallpaper



Click #2
Clicking the plasma-widget-nextwallpaper to show the new wallpaper.

The wallpaper is changing.


The "convert is part of the imagemagick. Package: imagemagick.

man convert:
Quote
NAME

convert - convert between image formats as well as resize an image, blur, crop, despeckle, dither,
draw on, flip, join, re-sample, and much more.

SYNOPSIS
       convert input-file [options] output-file

The plasma-widget-nextwallpaper is > KDE-Look / Next wallpaper:
Quote
Simple applet that changes the current wallpaper (when in slideshow mode) on command
It is in the repositories.
« Last Edit: January 21, 2010, 03:59:05 am by Rog131 » Logged

ScottZ
Always Learning
*
Offline Offline

Posts: 13


« Reply #16 on: February 03, 2010, 12:19:06 am »

I am trying to figure out how to make  a service menu that will copy files from one split to the other.
Any ideas?
Logged
Snowhog
KFNs unofficial 'presence' (AHD, SCE, sense 6)
Global Moderator
Kubuntu Veteran
*****
Offline Offline

Posts: 10727


"It is quite a three pipe problem, ..."


« Reply #17 on: February 03, 2010, 01:05:15 am »

Click, drag, and drop isn't sufficient Huh
Logged

Toshiba Satellite P105-S6147
GPU: Intel Mobile 945GM/GMS 943/940GML
GLX: Mesa DRI Intel 945GM GEM
DRI: Yes
Audio: Intel N10/ICH 7 Family Hi-Def

Kubuntu LL 10.04

Linux since March 23, 2007
Linux User #446986
Kubuntu User #15733
Rog131
Kubuntu Veteran
*******
Offline Offline

Posts: 3961


Kubuntu facientes adiuvant


« Reply #18 on: February 03, 2010, 08:22:33 am »

Quote
I am trying to figure out how to make  a service menu that will copy files from one split to the other.
Any ideas?

Yes  Wink, you need to get the other "panel" path but there is the problem  Sad.

I looked the qdbus /1/ calls but i didn't find useful for the Dolphin splitted view.


The Dolphin is a good (light one panel) file manager (> Dolphin philosophy). There is the "copy/move to" (Settings > Configure Dolphin > General > Context Menu > Show "copy To" and "Move To" commands)

I would use the Krusader /2/  or other twin panel file managers if there is need to move lot of files between panels.


/1/  (Q)D-Bus
> D-Bus wiki
> D-Bus Specification

/2/ Package: Krusader (http://www.krusader.org/)
Quote
twin-panel (commander-style) file manager

Krusader is a simple, easy, powerful, twin-panel (commander-style) file
manager, similar to Midnight Commander (C) or Total Commander (C).

It provides all the file management features you could possibly want.

Plus: extensive archive handling, mounted filesystem support, FTP,
advanced search module, viewer/editor, directory synchronisation,
file content comparisons, powerful batch renaming and much more.

It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar,
zip and 7-zip.

It handles KIOSlaves such as smb:// or fish://.

Almost completely customizable, Krusader is very user friendly, fast and looks
great on your desktop.
Logged

ScottZ
Always Learning
*
Offline Offline

Posts: 13


« Reply #19 on: February 03, 2010, 02:57:34 pm »

Click, drag, and drop isn't sufficient Huh
That's what I am doing now.
But if I could create a service menu to copy from one panel to the other, I could do it without using the mouse, which would be easier.
Logged
Rog131
Kubuntu Veteran
*******
Offline Offline

Posts: 3961


Kubuntu facientes adiuvant


« Reply #20 on: February 15, 2010, 02:17:15 pm »

Package naming

Service menu packages are now (Lucid) : kde-service-menu-<application>


> Bug #66508: ISO mount from context menu
>> ISO mounting by default
>>> [ubuntu/lucid] kde-service-menu-fuseiso 0.1-0ubuntu1 (Accepted)
Logged

Pages: 1 [2] Go Up Print 
Kubuntu Forums  |  Important Information  |  Documentation  |  Experimentation/Customization/Optimization  |  Topic: Service Menus with Dolphin « previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.191 seconds with 15 queries.
 

MKPortal M1.1.1 ©2003-2006 mkportal.it
Page generated in 0.04001 seconds with 10 queries