Thanks, that worked!
I'm on Debian, sorry for not mentioning it in the first post.
I use lightdm too. I'd never have imagined that the display manager would be relevant to that subject. I guess that's why you're a level 18 and I'm a 2 🖒(•ٹ•)
Search found 81 matches
- Mon Oct 11, 2021 5:31 pm
- Forum: Other Topics & Open Discussion
- Topic: Nemo scripts don't use $PATH from bashrc
- Replies: 7
- Views: 1546
- Mon Oct 11, 2021 1:30 pm
- Forum: Other Topics & Open Discussion
- Topic: Nemo scripts don't use $PATH from bashrc
- Replies: 7
- Views: 1546
Re: Nemo scripts don't use $PATH from bashrc
Still doesn't work for me. Maybe it's different on Debian. To be clear, this is what I did: append this to ~/.profile : PATH="$PATH:/some/path" export PATH Full system restart (to be sure) Run the echo $PATH context menu script the output file still contains the reduced PATH I also tried a...
- Sat Oct 09, 2021 1:41 pm
- Forum: Other Topics & Open Discussion
- Topic: Nemo scripts don't use $PATH from bashrc
- Replies: 7
- Views: 1546
Re: Nemo scripts don't use complete $PATH
To clarify, the paths in bashrc have been here for a while. I've restarted my computer many times since then so the issue is not that simple. I also tried putting the added paths in /etc/bash.bashrc instead of home/.bashrc and restart, to no avail. I guess I have to put them somewhere else but I don...
- Fri Oct 08, 2021 1:41 pm
- Forum: Other Topics & Open Discussion
- Topic: Nemo scripts don't use $PATH from bashrc
- Replies: 7
- Views: 1546
Nemo scripts don't use $PATH from bashrc
I'd like Nemo to use the same $PATH as when I do echo $PATH. Right now if I put a script containing echo $PATH > ~/nemo-path in nemo's script directory and run it from nemo's context menu, it outputs the basic : /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games Whereas echo $PATH from the ter...
- Thu Jul 16, 2020 8:50 am
- Forum: Cinnamon
- Topic: Multithreaded nemo scripts
- Replies: 1
- Views: 287
Re: Multithreaded nemo scripts
I forgot that I can simply use $@ to take the selected files. So a parallel command inside the script could be as simple as:
Code: Select all
for i in $@;do echo $i;done | parallel someProgram {}
- Tue Jul 14, 2020 4:42 pm
- Forum: Cinnamon
- Topic: Multithreaded nemo scripts
- Replies: 1
- Views: 287
Multithreaded nemo scripts
I'm trying to update several single-threaded nemo scripts so that they run on a user-defined number of threads. So far the only way I know to iterate over the selected files is to use: while [ $# -gt 0 ]; do thing1 thing2 shift done so my solution so far has been to construct an associative array in...
- Fri Jun 12, 2020 8:49 am
- Forum: Software & Applications
- Topic: Nemo accels : key names?
- Replies: 0
- Views: 257
Nemo accels : key names?
In Nemo's shortcuts file ~/.gnome2/accels/nemo, is there documentation on what I should type for some specific keys, e.g numpad keys ? If I simply put a digit, the shortcut will only work using the keyboard's top row digits. What should I add if I want to be able to use numpad keys instead? I also t...
- Thu May 21, 2020 10:12 am
- Forum: Chat about Linux
- Topic: .gnome2/accels/nemo on Debian XFCE [SOLVED]
- Replies: 3
- Views: 937
Re: .gnome2/accels/nemo on Debian XFCE
Thanks, that did it!
- Mon Mar 23, 2020 4:29 pm
- Forum: Chat about Linux Mint
- Topic: What Does Xfce Stand For?
- Replies: 8
- Views: 2033
Re: What Does Xfce Stand For?
or simply : "eXtremely Fast Computer Environment"
- Fri Jan 31, 2020 4:54 am
- Forum: Chat about Linux
- Topic: .gnome2/accels/nemo on Debian XFCE [SOLVED]
- Replies: 3
- Views: 937
.gnome2/accels/nemo on Debian XFCE [SOLVED]
I don't know whether it's because a new version of nemo changed this directory or because I'm using Debian XFCE but I don't have the folder ~/.gnome2. Can accel/nemo be found somewhere else ?
My versions:
Debian 10.2 XFCE
Nemo 3.8.5
My versions:
Debian 10.2 XFCE
Nemo 3.8.5
- Mon Dec 30, 2019 5:56 am
- Forum: Cinnamon
- Topic: Nemo: clear zoom cache
- Replies: 3
- Views: 2269
Nemo: clear zoom cache
I would like to reset the zoom in all folders to the value set in the preferences. Is that possible?
- Thu Oct 24, 2019 6:23 am
- Forum: Cinnamon
- Topic: Nested or categorized Nemo bookmarks?
- Replies: 0
- Views: 1814
Nested or categorized Nemo bookmarks?
I have many bookmarks in Nemo and it's becoming confusing. Is there a way to nest or categorize them ?
- Tue Oct 22, 2019 2:13 pm
- Forum: Suggestions & Feedback
- Topic: [Moved to Github] Submenus for Nemo Actions?
- Replies: 6
- Views: 4190
Re: [Moved to Github] Submenus for Nemo Actions?
I'm ashamed I didn't look also into scripting capability of nemo :oops: Scripting is solving the whole problem. Nemo IS great! Are you saying there's a simpler solution to the one you proposed above? If so could you show an example (preferably with a simpler script item than the one you showed, e.g...
- Tue Oct 22, 2019 8:43 am
- Forum: Cinnamon
- Topic: [SOLVED] Nemo: size-dependent "open with"
- Replies: 10
- Views: 2606
Re: [SOLVED] Nemo: size-dependent "open with"
Looking back at your nemo action setup, It seems the .nemo_action file is missing the ../ in the Exec line to broswe to the previous directory before going to script, because it doesn't seem to work without it:
Code: Select all
Exec=<../scripts/open_image_with.sh %F>
- Fri Oct 11, 2019 3:44 am
- Forum: Cinnamon
- Topic: File format-dependent display of context menu script [Nemo scripts]
- Replies: 2
- Views: 1189
Re: File format-dependent display of context menu script [Nemo scripts]
That's great!
Is there a way to still have these action items in a submenu though?
Is there a way to still have these action items in a submenu though?
- Thu Oct 10, 2019 2:10 pm
- Forum: Cinnamon
- Topic: File format-dependent display of context menu script [Nemo scripts]
- Replies: 2
- Views: 1189
File format-dependent display of context menu script [Nemo scripts]
I have many context menu scripts and always have to navigate through sub-menus to find the right one for each task, even though nearly all of them only apply to specific file types. If there was a way to make script menu items only appear when certain file types are selected in Nemo, it would drasti...
- Thu Oct 10, 2019 3:51 am
- Forum: Cinnamon
- Topic: [SOLVED] Nemo: size-dependent "open with"
- Replies: 10
- Views: 2606
Re: Nemo: size-dependent "open with"
of course, silly me!
I went in an image's properties and changed the default "open with" to the shell script by browsing to it. Do you think there's a better way? (I'm on XFCE)
I went in an image's properties and changed the default "open with" to the shell script by browsing to it. Do you think there's a better way? (I'm on XFCE)
- Wed Oct 09, 2019 12:05 pm
- Forum: Cinnamon
- Topic: [SOLVED] Nemo: size-dependent "open with"
- Replies: 10
- Views: 2606
Re: Nemo: size-dependent "open with"
Thanks very much smurphos. This is very neat!
Either file size or image dimensions would've done it for me.
So I assume there's no way from there to make a double-click on the file execute that script (for the specified file formats)?
Either file size or image dimensions would've done it for me.
So I assume there's no way from there to make a double-click on the file execute that script (for the specified file formats)?
- Tue Oct 08, 2019 10:17 am
- Forum: Cinnamon
- Topic: [SOLVED] Nemo: size-dependent "open with"
- Replies: 10
- Views: 2606
[SOLVED] Nemo: size-dependent "open with"
Is there a way (even a hack) to get a certain file type to automatically open with some application based on its size?
In my case I'd like to open images with one app when their size is below a certain threshold and with another app when it's above, just by double-clicking on the file in Nemo.
In my case I'd like to open images with one app when their size is below a certain threshold and with another app when it's above, just by double-clicking on the file in Nemo.
- Sat Jun 22, 2019 10:39 am
- Forum: Software & Applications
- Topic: Nemo : Hide files with specific extension
- Replies: 3
- Views: 305
Re: Nemo : Hide files with specific extension
Thanks. I'm specifically trying to hide .blend1 and .blend2 files. No biggie, I'll find another way.